php server request method

35

if ($_SERVER['REQUEST_METHOD'] === 'POST') {
     // The request is using the POST method
}
$_SERVER['REQUEST_METHOD'];

Comments

Submit
0 Comments